Skip to content

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Oct 2, 2022

This adds the default parameter to TypeVar, ParamSpec, and TypeVarTuple.
PR: python/typing_extensions#77

https://peps.python.org/pep-0696/

/CC: @Gobot1234, @JelleZijlstra

@AlexWaygood
Copy link
Member

Thanks! We'll need to wait for the runtime PR to be merged before we can merge this :)

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@JelleZijlstra
Copy link
Member

Actually it looks like we need to add a few more things to get CI green with the new release. I'll just hijack this PR to also add override and Any.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2022

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit f536953 into python:master Oct 6, 2022
@cdce8p cdce8p deleted the TypeVarLike-defaults branch October 6, 2022 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants